#ifndef FILESLISTTAB_H
#define FILESLISTTAB_H

#include <KTextEdit>
#include <QWidget>
#include <QLabel>
#include <QVBoxLayout>

#include <string>
#include <math.h>
#include <vector>
struct FileObj;
using namespace std;

class FilesListTab: public QWidget{
  Q_OBJECT
public:
  FilesListTab();
  ~FilesListTab();
  void setFiles(vector<FileObj> fobj, time_t tm);
private:
  string TimeDiff(time_t file_tm, const char m);
  QVBoxLayout* layout;
  KTextEdit* filesList;
};

#endif
